package com.wzm.system.mapper;

import com.wzm.system.domain.Role;
import com.wzm.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-20
 */
public interface RoleMapper extends BaseMapper<Role> {

    void delMenuByRoleId(Long id);

    void delPermissionByRoleId(Long id);

    void delEmployeeRoleByRoleId(Long id);

    void addRoleMenu(Role role);

    void addRolePermission(Role role);
}
